package org.dromara.swimming.service;

import org.dromara.swimming.domain.Swimming;
import org.dromara.swimming.domain.vo.SwimmingVo;
import org.dromara.swimming.domain.bo.SwimmingBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 景点侦测Service接口
 *
 * @author Ashufen
 * @date 2024-05-07
 */
public interface ISwimmingService {

    /**
     * 查询景点侦测
     */
    SwimmingVo queryById(Long id);

    /**
     * 查询景点侦测列表
     */
    TableDataInfo<SwimmingVo> queryPageList(SwimmingBo bo, PageQuery pageQuery);

    /**
     * 查询景点侦测列表
     */
    List<SwimmingVo> queryList(SwimmingBo bo);

    /**
     * 新增景点侦测
     */
    Boolean insertByBo(SwimmingBo bo);

    /**
     * 修改景点侦测
     */
    Boolean updateByBo(SwimmingBo bo);

    /**
     * 校验并批量删除景点侦测信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
